ComponentOne Data Source for Entity Framework
C1.LiveLinq.Indexing Namespace / SubindexCollection<T> Class / Contains Method / Contains(LambdaExpression) Method
Key selector expression of a subindex, see KeySelector.

In This Topic
    Contains(LambdaExpression) Method
    In This Topic
    Determines whether a subindex with the specified key selector exists in the collection.
    Syntax
    'Declaration
     
    
    Public Overloads Function Contains( _
       ByVal keySelector As System.Linq.Expressions.LambdaExpression _
    ) As System.Boolean
    public System.bool Contains( 
       System.Linq.Expressions.LambdaExpression keySelector
    )

    Parameters

    keySelector
    Key selector expression of a subindex, see KeySelector.

    Return Value

    true if a subindex with the specified key selector is found in the collection; otherwise, false.
    See Also